home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
xdsn217.zip
/
BIN
/
xds.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-07-09
|
45KB
|
1,507 lines
ΓòÉΓòÉΓòÉ 1. Help for XDS ΓòÉΓòÉΓòÉ
XDS IDE is a powerful programmer's text editor with a configurable set of
external tools, which may include XDS compilers and utilities as well as
third-party programs. XDS project file editor is also provided.
Topics available:
Concepts
Main Menu
Key Assignments
XDS on-line documentation:
User's Guide
ISO Modula-2 Language Reference
ISO Modula-2 Standard Library
ΓòÉΓòÉΓòÉ 2. XDS IDE Concepts ΓòÉΓòÉΓòÉ
The key concepts of XDS IDE are:
Tools
Workplaces
Styles
ΓòÉΓòÉΓòÉ 2.1. Tools ΓòÉΓòÉΓòÉ
Tools is an uniform integration mechanism for all external programs, including
XDS compilers and utilities, third-party products, and the user's own
executables and scripts.
A tool is actually a command line invoked at your request, which may be
performed via the Tools Menu, the toolbar, or by pressing a hot-key. You may
add, configure and remove tools freely. A tool may be set to be enabled only if
a project file is opened, or if a current edit window contains a file which
name has a suffix from a certain list.
The IDE provides an API which may be used by a tool to communicate with the
IDE: display a progress indicator, send error messages, form a source files
list, etc.
ΓòÉΓòÉΓòÉ 2.2. Workplaces ΓòÉΓòÉΓòÉ
Workplace is a combination of parameters which define the current state of the
IDE. These parameters include:
Editor options, (font, colors, etc.)
Opened files, their windows and cursor positions
Current project (optional)
Tools
Working directory
Note: The working directory is just a startup directory for all tools. You do
not have to place all your source files to it or to its subdirectories.
The IDE maintains a list of workplaces, allowing fast switch from one to
another.
ΓòÉΓòÉΓòÉ 2.3. Styles ΓòÉΓòÉΓòÉ
Styles let you quickly change workplace properties. Using styles, you may save
editor options and/or tools defined in the current workplace under an arbitrary
name. After switching to another workplace or creating a new one, you may
apply. the resulting style, replacing its tools and editor options.
Similarly, a set of project file statements, such as lookups, options, and
equations may be saved as a style and then applied to another project.
ΓòÉΓòÉΓòÉ 3. Main Menu ΓòÉΓòÉΓòÉ
The Main Menu contains the following submenus:
File Menu
Edit Menu
Options Menu
Workplace Menu
Tools Menu
Project Menu
Window Menu
Help Menu
ΓòÉΓòÉΓòÉ 4. File Menu ΓòÉΓòÉΓòÉ
The File menu contains commands that you use to create, open, and save source
files. It also contains a list of files (up to 15) that were most recently
opened or saved using the Save As command. The following commands appear in the
File menu:
New
Opens new empty window
Load
Loads a file into new or existing window
Reload
Reloads current file from disk
Save
Saves any changes made to the current file
Save As
Saves the current file using a new name
Save All
Saves all changed files
Print
Prints the cureent file or selection
Autosave
Toggles autosave mode on or off
Maximize new windows
Toggles new windows maximizing on or off
ΓòÉΓòÉΓòÉ 5. New ΓòÉΓòÉΓòÉ
Use the New command to create a new empty window.
The word "Nonamex" will appear in its title bar, where x is a window number.
You'll have to specify a name for the new file when you save it.
Mouse shortcut: Toolbar
ΓòÉΓòÉΓòÉ 6. Load ΓòÉΓòÉΓòÉ
Use the Load command to open an existing file.
A dialog will appear, providing different methods of loading files.
Mouse shortcut: Toolbar
Keyboard shortcut: F3
ΓòÉΓòÉΓòÉ 7. Reload ΓòÉΓòÉΓòÉ
Use the Reload command to reload a file in the current window from disk,
discarding all changes made to it since last save. You will be prompted to save
your changes, if any.
Keyboard shortcut: Ctrl+F3
ΓòÉΓòÉΓòÉ 8. Save ΓòÉΓòÉΓòÉ
Use Save to store the current file. After the file is saved, the text remains
in the window so that you can continue editing it.
Mouse shortcut: Toolbar
Keyboard shortcut: F2
Note: If you are editing a new (Nonamex) file, select the Save or Save as
choices to display the Save as dialog so that you can name the file you
are editing. A file must have a name to be saved.
ΓòÉΓòÉΓòÉ 9. Save As ΓòÉΓòÉΓòÉ
Use the Save As command to name and save a new file or to save file under a
different name, or to a different location.
A dialog box will appear, prompting you for a new filename. You can also select
different drive/directory.
ΓòÉΓòÉΓòÉ 10. Save All ΓòÉΓòÉΓòÉ
Use the Save All command to save all changed files.
ΓòÉΓòÉΓòÉ 11. Print ΓòÉΓòÉΓòÉ
Use the Print command to print the current file or selection.
ΓòÉΓòÉΓòÉ 12. Autosave ΓòÉΓòÉΓòÉ
Use Autosave command to toggle autosave mode on or off. In autosave mode XDS
automatically saves all files before exiting or starting the compiler.
ΓòÉΓòÉΓòÉ 13. Maximize new windows ΓòÉΓòÉΓòÉ
Use Maximize new windows command to toggle automatic maximization of newly
opened windows on or off.
ΓòÉΓòÉΓòÉ 14. Open dialog box ΓòÉΓòÉΓòÉ
To open a file:
1. Select the down arrow to the right of the Drive list to display all the
drives on your system.
2. Select a drive from the Drive list.
3. Select a directory from the Directory list.
4. Select a file name from the File list or type in a file name.
5. Select the Open pushbutton.
The selected file will be loaded into a new window.
Detailed description of controls:
Open filename
Type the name of the file you want to open in the Open filename field and
select the OK pushbutton. You can also type absolute or relative pathname.
If you type a name containing wildcard characters (* and ?), it is
considered a string filter rather than a file name. Pressing the Enter key
or selecting the OK pushbutton will limit the File list to display only
filenames that match the pattern you entered.
Type of file
Select the down arrow to the right of the Type of file field to display the
available file types. XDS sets this field for all file types.
Drive
The Drive list displays the drives on your system. Select the drive that
contains the files you want to edit.
File
The File list displays all the files in the directory you selected from the
Directory list. Select the file you want to open.
Directory
The Directory list displays the directories on the selected drive. Select
a directory to display the list of files from that directory in the File
list box.
OK
Select the OK pushbutton to load the selected file into a new window or to
accept a string filter.
Cancel
Select the Cancel pushbutton if you decide not to load a file.
ΓòÉΓòÉΓòÉ 15. Save as dialog box ΓòÉΓòÉΓòÉ
To name and save a new file of to save a file under a new name:
1. Select the down arrow to the right of the Drive list to display all the
drives on your system.
2. Select a drive from the Drive list.
3. Select a directory from the Directory list.
4. Type the name of the file you want to save in the File name field and
select the OK pushbutton.
The file will be saved in selected directory under the name you entered.
Detailed description of controls:
File name
Type the name of the file you want to save in the File name field and
select the OK pushbutton.
Type of file
Select the down arrow to the right of the Type of file field to display the
available file types. XDS sets this field for all file types.
Drive
The Drive list displays the drives on your system. Select the drive that
contains the files you want to sav